<!DOCTYPE HTML>
<html>
<head>
<include file="Include:meta" />
<title>绩效考评-目的地运营集团数据管理平台</title>
<include file="Include:style" />
</head>
<body>
<include file="Include:header" />
<include file="Include:left" />
<div id="main">
	<div class="crumbs">
		<div class="crumbs-text">个人 > 绩效考评</div>
	</div>
	<div id="content">
		<div class="classify">
			<ul>
				<li><a href="javascript:;" class="current">绩效考评</a></li>
				<!--li><a href="__APP__/Index/jixiao_personal">个人绩效</a></li-->
			</ul>
		</div>
		<div class="table-scrollx">
			<table class="table table-bordered table-hover">
				<tr class="table-header fixed-table-header">
					<td width="">姓名</td>
					<td width="">绩效考评</td>
					<td width="">360考评</td>
				</tr>
				<if condition="$result eq NULL">
				<tr><td class='text-center' colspan="3">暂无相关内容</td></tr>
				</if>
				<foreach name="result" item="vo">
					<tr>
						<td>{$vo['username']}</td>
						<td>
							<if condition="$vo['sup1'] eq 1">
								<if condition="$vo['able1'] eq -1">
									<a href="javascript:;" class="able" mid="{$vo['id']}" action="able">恢复</a>
								<else/>
									<if condition="$vo['sup1_id'] eq NULL or $vo['sup1_sum'] eq NULL">
										<a href="__APP__/Index/jixiao_evaluation_one/id/{$vo['id']}">考评</a>
									<else/>
										<if condition="$vo['sup1_status'] eq -1">
											<a href="__APP__/Index/jixiao_evaluation_one/id/{$vo['id']}/sid/{$vo['sup1_id']}">考评<span style="color:#666">({$vo['sup1_sum']+0}分)</span></a>
										<else/>
											<a href="__APP__/Index/jixiao_evaluation_one/id/{$vo['id']}/sid/{$vo['sup1_id']}" style="color:#666">已考评({$vo['sup1_sum']+0}分)</a>
										</if>
									</if>
								</if>
							</if>
						</td>
						<td>
							<if condition="$vo['sup2'] eq 1">
								<if condition="$vo['able2'] eq -1">
									<a href="javascript:;" class="able2" mid="{$vo['id']}" action="able2">恢复</a>
								<else/>
									<if condition="$vo['sup2_id'] eq NULL or $vo['sup2_sum'] eq NULL">
										<a href="__APP__/Index/jixiao_evaluation_two/id/{$vo['id']}">考评</a>
										 | <a href="javascript:;" class="disable2" mid="{$vo['id']}" action="disable2">弃权</a>
									<else/>
										<if condition="$vo['sup2_status'] eq -1">
											<a href="__APP__/Index/jixiao_evaluation_two/id/{$vo['id']}/sid/{$vo['sup2_id']}">考评<span style="color:#666">({$vo['sup2_sum']+0}分)</span></a>
										<else/>
											<a href="__APP__/Index/jixiao_evaluation_two/id/{$vo['id']}/sid/{$vo['sup2_id']}" style="color:#666">已考评({$vo['sup2_sum']+0}分)</a>
										</if>
									</if>
								</if>
							</if>
						</td>
					</tr>
				</foreach>
			</table>
		</div>
		<div class="pages">{$page}</div>
	</div>
</div>
<include file="Include:javascript" />
<script type="text/javascript">
	$(function(){
		$(".able").ajaxModal({"title_text":"确认提示框","body_text":"您确定要恢复考评吗？","url":"__APP__/Index/jixiao_appraisal_ajax","data":{"id":"mid","action":"action"}});
		$(".able2").ajaxModal({"title_text":"确认提示框","body_text":"您确定要恢复考评吗？","url":"__APP__/Index/jixiao_appraisal_ajax","data":{"id":"mid","action":"action"}});
		$(".disable").ajaxModal({"title_text":"确认提示框","body_text":"您确定要弃权吗？","url":"__APP__/Index/jixiao_appraisal_ajax","data":{"id":"mid","action":"action"}});
		$(".disable2").ajaxModal({"title_text":"确认提示框","body_text":"您确定要弃权吗？","url":"__APP__/Index/jixiao_appraisal_ajax","data":{"id":"mid","action":"action"}});
	});
</script>
</body>
</html>